package com.aaa.controller;

import com.aaa.entity.CheckItem;
import com.aaa.service.CheckItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @BelongsPackage: com.aaa.controller
 * @Description:
 * @CreateTime: 2023-04-04  17:15
 * @Author: ql
 */
@RestController
@RequestMapping("/system/checkItem/")
public class CheckItemController {

    @Autowired
    private CheckItemService checkItemService;
    @GetMapping("/queryList")
    public List<CheckItem> queryList(){
       return checkItemService.queryList();
    }

}
